
package ac.technion.gcchat.messages;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:element xmlns:ns="http://www.technion.ac/gcchat/messages" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="NewStreamMessage">
 *   &lt;xs:complexType>
 *     &lt;xs:sequence>
 *       &lt;xs:element type="xs:string" name="fileName"/>
 *       &lt;xs:element type="xs:long" name="lengthInKb"/>
 *       &lt;xs:element type="xs:long" name="lengthInSeconds"/>
 *     &lt;/xs:sequence>
 *   &lt;/xs:complexType>
 * &lt;/xs:element>
 * </pre>
 */
public class NewStreamMessage
{
    private String fileName;
    private long lengthInKb;
    private long lengthInSeconds;

    /** 
     * Get the 'fileName' element value.
     * 
     * @return value
     */
    public String getFileName() {
        return fileName;
    }

    /** 
     * Set the 'fileName' element value.
     * 
     * @param fileName
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    /** 
     * Get the 'lengthInKb' element value.
     * 
     * @return value
     */
    public long getLengthInKb() {
        return lengthInKb;
    }

    /** 
     * Set the 'lengthInKb' element value.
     * 
     * @param lengthInKb
     */
    public void setLengthInKb(long lengthInKb) {
        this.lengthInKb = lengthInKb;
    }

    /** 
     * Get the 'lengthInSeconds' element value.
     * 
     * @return value
     */
    public long getLengthInSeconds() {
        return lengthInSeconds;
    }

    /** 
     * Set the 'lengthInSeconds' element value.
     * 
     * @param lengthInSeconds
     */
    public void setLengthInSeconds(long lengthInSeconds) {
        this.lengthInSeconds = lengthInSeconds;
    }
}
